package com.iflytek.edu.pdc.uc.elasticsearch.support;

/**
 * @Description:
 * @author: liux
 * @date: 2019/3/8 3:37 PM
 */
public class DataPartition {

    /**
     * 数据偏移量.
     */
    private Integer offset;

    /**
     * 数据显示数量.
     */
    private Integer limit;

    public DataPartition(Integer offset, Integer limit) {
        this.offset = offset;
        this.limit = limit;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
